const express = require('express')
const router = express.Router()

router.get('/', (req, res, next) => {
  try {
    res.redirect('/news')
  } catch (error) {
    next(error)
  }
})

/* inject */
router.use(require('./about'))
router.use(require('./login'))
router.use(require('./cases'))
router.use(require('./dynamic'))
router.use(require('./product'))
router.use(require('./news'))
router.use(require('./picture'))

// router.use(require('./about'))
// router.use(require('./case'))
// router.use(require('./dynamic'))
// router.use(require('./news'))
// router.use(require('./product'))

module.exports = router
